//
//  BaseViewController.h
//  EnjoyArkUIXIOS
//
//  Created by Dordly on 2024/1/30.
//

#import <UIKit/UIKit.h>
#import "AppDelegate.h"
#import "PublicHeader.h"

NS_ASSUME_NONNULL_BEGIN

@interface BaseViewController : UIViewController

@property (nonatomic, strong) UIView *leftView;

@property (nonatomic, assign) BOOL isPortrait;

@property (nonatomic, strong) UITableView *mainTableView;

/// 左边返回，中间文字
- (void)setNavigationBarWithCenterTitle:(NSString *)centerTitle;

/// 顶部状态栏高度+安全区域
- (CGFloat)getStatusBarHeight;

/// 导航栏高度
- (CGFloat)getNavigationBarHeight;

- (void)setNewOrientation:(BOOL)fullscreen;

@end

NS_ASSUME_NONNULL_END
